#pragma once
#include "Object.h"
#include "Fysics/Renderer/VertexArray.h"
#include "Fysics/Renderer/ShaderProgram.h"
#include "Fysics/Renderer/MeshGroup.h"

namespace Fysics
{
	class Item : public Object
	{
	protected:
		MeshGroup* m_Meshes;
	public:
		Item(const std::string& id = "", const std::string& name = "", const glm::vec3& position = glm::vec3(0),
			const glm::vec3& rotation = glm::vec3(0), const glm::vec3& scaling = glm::vec3(1));
		
		virtual ~Item();

		virtual void SetMeshes(MeshGroup* meshes) { m_Meshes = meshes; }

		virtual void OnEvent(Event& event) override;

		virtual void Draw() const override;
	};	
	
}